import axios from "../axios";

/*
*  用户登录
* */
export function login(data) {
    return axios({
        method: 'post',
        baseURL: '/',
        url: '/auth/oauth/token',
        headers: {'Content-Type': 'application/x-www-form-urlencoded'},
        data
    })
}

/*
*  获取用户信息
* */
export function getUser() {
    return axios({
        method: 'get',
        baseURL: '/',
        url: '/rm/userExtension/findResumeByUserId'
    })
}


